package com.example.news_demo.mapper;

import com.example.news_demo.entity.View;
import com.example.news_demo.entity.ViewLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@Mapper
public interface ViewLogMapper {
    public void insertViewLog(@Param("view_log")ViewLog viewLog);
}
